﻿using LS.Screening.UI.Common;
using ReactiveUI;
using System.Reactive;

namespace LS.Screening.UI.Register.ViewModels
{
    public class RegisterManageViewModel : ViewModel
    {
        string name = "筛查页面";
        public string Name { get => name; set => this.RaiseAndSetIfChanged(ref name, value); }

        public ReactiveCommand<Unit, Unit> ImageShowCommand { get; private set; }

        public RegisterManageViewModel()
        {
            ImageShowCommand = ReactiveCommand.Create(ImageShow);
        }

        private async void ImageShow()
        {
            await ShowDialog<ImageManageViewModel>("影像查看", (vm, win) =>
            {

            });
        }
    }
}
